package com.example.history.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author 凡哥哥
 * @since 2023-11-25
 */
@Getter
@Setter
@ApiModel(value = "History对象", description = "")
public class History implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty("\"图书名称\"")
    private String name;

    @ApiModelProperty("\"章节标题\"")
    private String chapter;

    @ApiModelProperty("\"章节\"")
    private String chapterId;

    @ApiModelProperty("\"简介\"")
    private String brief;

    @ApiModelProperty("\"图片\"")
    private String image;

    @ApiModelProperty("\"标签\"")
    private String type;

    @ApiModelProperty("\"作者\"")
    private String author;

    @ApiModelProperty("默认章节标题")
    private String fault;
    @TableId(value = "id", type = IdType.AUTO)
    private Long bookId;

    private Long userId;

    private String message;


}
